package com.create.factory;

public class Factory {

	Food food;
	
	public static Food getFood(int type){
		if(type==1){
			return new Jiaduobao();
		}else{
			return null;
		}
	}
}
